package com.yang.framework.common.exception.biz;

import com.yang.framework.common.exception.BaseException;
import com.yang.framework.common.exception.IBaseException;

/**
 * 业务异常
 */
public class BizException extends BaseException {
    public BizException(String errorCode, String errorMessage) {
        super(errorCode, errorMessage);
    }
    public BizException(IBaseException e) {
        super(e.getErrorCode(), e.getErrorMessage());
    }
}
